package cn.zysheep.Flyweight;

/**
 * @ClassName: AbstractBox
 * @Author: lyw
 * @Date: 2022/11/1 16:26
 * @Description: TODO(一句话描述该类的功能)
 */
public abstract class AbstractBox {
    public abstract String getShape();

    public void display(String color) {
        System.out.println("方块形状：" + this.getShape() + " 颜色：" + color);
    }
}
